import 'package:detect/entity/entity.dart';
import 'package:flutter/material.dart';

class RadioTargetNotifier extends ChangeNotifier {
  RadioEntity? _target;

  RadioEntity? get target => _target;

  set target(RadioEntity? entity) {
    if (_target?.toString() != entity?.toString()) {
      _target = entity;
      notifyListeners();
    }
  }
}
